#pragma once

#include <string>
#include <set>
#include <mutex>
#include <vector>
#include <map>
#include <iostream>
using namespace std;

class MasterConfig
{
public:
	MasterConfig();
	~MasterConfig();
	void clear();
	bool load(const std::string& config, const bool& isFile);
	string getTaskId() const;
	int getTaskTimeOut() const;
	string getCaseId() const;
	string getCaseName() const;
	string getWorldConfigJson() const;
	vector<std::string> getNodeWorkList() const;
private:
	std::string mTaskId;
	int mTaskTimeOut;
	string mCaseId;
	string mCaseName;
	string mWorldConfigJson;
	vector<std::string> mNodeWorkList;
};